<template>
  <van-field v-model="item.value" :placeholder="item.placeholder" :label="item.label" class="hide" :disabled="item.disabled" :required="item.disabled ? false : item.required">
    <template #label>
      <span class="custom-title">{{ label }}
        <van-icon v-if="help" name="question" @click="showHelp" />
      </span>
    </template>
  </van-field>
</template>

<script>
import EleBase from './EleBase'

export default {
  name: 'EleHidden',
  extends: EleBase,
  props: {
    item: {
      type: Object, // 类型
      default: null // 默认值
    }
  }
}
</script>

